home *** CD-ROM | disk | FTP | other *** search
- #
- # (c) Copyright 1991, 1992 Novell, Inc. All rights reserved.
- #
- # $Logfile: H:/csm/hostprt/vcs/prtsess.scv $
- # $Revision: 1.4 $
- # $Date: 15 Jun 1993 13:58:30 $
- # $Author: SGOLDSTE $
- # $Log: H:/csm/hostprt/vcs/prtsess.scv $
- #
- # Rev 1.4 15 Jun 1993 13:58:30 SGOLDSTE
- # Changed HelpId back to C039.
- #
- # Rev 1.3 15 Jun 1993 13:40:22 SGOLDSTE
- # Changed HelpId to C00A.
- #
- # Rev 1.2 11 Jun 1993 09:48:12 SGOLDSTE
- # Added hint text.
- #
- # Rev 1.1 20 May 1993 08:51:24 SGOLDSTE
- # Changed ToolBar control class to ToolBar. Made sure that all named controls
- # and their WndType have the same name.
- #
- # Rev 1.0 14 May 1993 15:06:46 SGOLDSTE
- # Initial revision.
- #
-
- LIST SCRHostPrtSessions SCRHostPrtSessions
- #
- # The MemCom value is the memory commisioned for screen use. If the
- # memory is not available, the screen will not come up. The default
- # value below is used or it can be over-written by the screen's
- # ::MemCom method. The MemDcom value is set on successful memory
- # commision and is used to decommision the screen's memory.
- #
- Element MemCom
- ShortInt nameless 04000
- Element MemDcom
- ShortInt nameless 00000
- #
- Element ScreenHelpId
- ShortInt nameless 00000C039
- Element ScreenTypes
- ShortInt nameless ScrBySelObject
- Element WndAttribute
- LIST nameless SCRHostPrtSessions
- Element WndClass
- string nameless "SCRHostPrtSessions"
- Element WndCaption
- string WndCaption "Printer Sessions"
- Element WndName
- string WndName "SCRHostPrtSessions"
- Element WndStyle
- long WndStyle 000000000
- Element WndCoord
- Coord WndCoord 000000002 000000002 000000270 000000180
- Element WndType
- ShortInt nameless 000000000
- EndList
- Element WndControl
- LIST nameless Window
- Element WndObject
- LIST ToolBar ToolBar
- Element WndAttribute
- LIST ToolBar ToolBar
- Element WndClass
- string nameless "STATIC"
- Element WndCaption
- string WndCaption ""
- Element WndName
- string WndName ""
- Element WndStyle
- # define SS_GRAYRECT 0x00000005L
- long WndStyle 050000005
- Element WndCoord
- Coord WndCoord 000000000 000000000 000000A00 000000026
- Element WndType
- ShortInt nameless ToolBar
- EndList
- EndList
- Element WndObject
- LIST BtHomeAct PUSHBUTTON
- Element LoadBitmap
- ShortInt nameless 000000000
- Element GetBitmapName
- string nameless "CSMFIRST"
- Element WndAttribute
- LIST nameless BUTTON
- Element WndClass
- string nameless "BUTTON"
- Element WndCaption
- string WndCaption "Displays the first page of printer sessions"
- Element WndName
- string WndName "PUSHBUTTON"
- Element WndStyle
- long WndStyle 05800000B
- Element WndCoord
- Coord WndCoord 000000000 000000000 000000032 000000026
- Element WndType
- ShortInt nameless BtHomeAct
- EndList
- Element DataItemCtrl
- LIST nameless ViewElement
- Element ButtonAction
- ShortInt nameless BtHomeAct
- EndList
- EndList
- Element WndObject
- LIST BtPgUpAct PUSHBUTTON
- Element LoadBitmap
- ShortInt nameless 000000000
- Element GetBitmapName
- string nameless "CSMPREVIOUS"
- Element WndAttribute
- LIST nameless BUTTON
- Element WndClass
- string nameless "BUTTON"
- Element WndCaption
- string WndCaption "Displays the previous page of printer sessions"
- Element WndName
- string WndName "PUSHBUTTON"
- Element WndStyle
- long WndStyle 05800000B
- Element WndCoord
- Coord WndCoord 000000032 000000000 000000032 000000026
- Element WndType
- ShortInt nameless BtPgUpAct
- EndList
- Element DataItemCtrl
- LIST nameless ViewElement
- Element ButtonAction
- ShortInt nameless BtPgUpAct
- EndList
- EndList
- Element WndObject
- LIST BtPgDownAct PUSHBUTTON
- Element LoadBitmap
- ShortInt nameless 000000000
- Element GetBitmapName
- string nameless "CSMNEXT"
- Element WndAttribute
- LIST nameless BUTTON
- Element WndClass
- string nameless "BUTTON"
- Element WndCaption
- string WndCaption "Displays the next page of printer sessions"
- Element WndName
- string WndName "PUSHBUTTON"
- Element WndStyle
- long WndStyle 05800000B
- Element WndCoord
- Coord WndCoord 000000064 000000000 000000032 000000026
- Element WndType
- ShortInt nameless BtPgDownAct
- EndList
- Element DataItemCtrl
- LIST nameless ViewElement
- Element ButtonAction
- ShortInt nameless BtPgDownAct
- EndList
- EndList
- Element WndObject
- LIST BtEndAct PUSHBUTTON
- Element LoadBitmap
- ShortInt nameless 000000000
- Element GetBitmapName
- string nameless "CSMLAST"
- Element WndAttribute
- LIST nameless BUTTON
- Element WndClass
- string nameless "BUTTON"
- Element WndCaption
- string WndCaption "Displays the last page of printer sessions"
- Element WndName
- string WndName ""
- Element WndStyle
- long WndStyle 05800000B
- Element WndCoord
- Coord WndCoord 000000096 000000000 000000032 000000026
- Element WndType
- ShortInt nameless BtEndAct
- EndList
- Element DataItemCtrl
- LIST nameless ViewElement
- Element ButtonAction
- ShortInt nameless BtEndAct
- EndList
- EndList
- Element WndObject
- LIST BtMoreInfoAct PUSHBUTTON
- Element LoadBitmap
- ShortInt nameless 000000000
- Element GetBitmapName
- string nameless "CSMMORE"
- Element WndAttribute
- LIST nameless BUTTON
- Element WndClass
- string nameless "BUTTON"
- Element WndCaption
- string WndCaption "Displays detailed information of the selected printer session"
- Element WndName
- string WndName ""
- Element WndStyle
- long WndStyle 05800000B
- Element WndCoord
- Coord WndCoord 0000000C8 000000000 000000032 000000026
- Element WndType
- ShortInt nameless BtMoreInfoAct
- EndList
- Element DataItemCtrl
- LIST nameless ViewElement
- Element ButtonAction
- ShortInt nameless BtMoreInfoAct
- EndList
- EndList
- Element WndObject
- LIST BtUpdateAct PUSHBUTTON
- Element LoadBitmap
- ShortInt nameless 000000000
- Element GetBitmapName
- string nameless "CSMUPDATE"
- Element WndAttribute
- LIST nameless BUTTON
- Element WndClass
- string nameless "BUTTON"
- Element WndCaption
- string WndCaption "Updates the list of printer sessions with the most recent information"
- Element WndName
- string WndName "PUSHBUTTON"
- Element WndStyle
- long WndStyle 05800000B
- Element WndCoord
- Coord WndCoord 0000000FA 000000000 000000032 000000026
- Element WndType
- ShortInt nameless BtUpdateAct
- EndList
- Element DataItemCtrl
- LIST nameless ViewElement
- Element ButtonAction
- ShortInt nameless BtUpdateAct
- EndList
- EndList
- Element WndObject
- LIST nameless STATIC
- Element WndAttribute
- LIST nameless STATIC
- Element WndClass
- string nameless "STATIC"
- Element WndCaption
- string WndCaption "LU Name Print Job/Server/Print Queue Host Application Session State"
- Element Tabs
- Tabs Tabs 100 350 480
- Element WndFont
- ShortInt nameless 0D
- Element WndName
- string WndName ""
- Element WndStyle
- long WndStyle 050000000
- Element WndCoord
- Coord WndCoord 00000000D 00000002A 000000258 000000014
- Element WndType
- ShortInt nameless 00004
- EndList
- EndList
- Element WndObject
- LIST PrinterSessionView LISTBOX
- Element SetFocus
- ShortInt nameless 1
- Element HasFocus
- ShortInt nameless 1
- Element WndAttribute
- LIST nameless LISTBOX
- Element WndClass
- string nameless "LISTBOX"
- Element WndCaption
- string WndCaption ""
- Element Tabs
- Tabs Tabs 100 350 480
- Element WndFont
- ShortInt nameless 0C
- Element WndName
- string WndName ""
- Element WndStyle
- long WndStyle 050A10011
- Element WndCoord
- Coord WndCoord 00000000A 000000040 000000258 000000100
- Element WndType
- ShortInt nameless PrinterSessionView
- EndList
- EndList
- Element WndObject
- LIST DispStatus DispStatus
- Element WndAttribute
- LIST nameless DispStatus
- Element WndClass
- string nameless "CSMSTATUS"
- Element WndCaption
- string WndCaption ""
- Element WndName
- string WndName ""
- Element WndStyle
- long WndStyle 050000000
- Element WndCoord
- Coord WndCoord 000000000 0000000C0 000000270 00000001A
- Element WndType
- ShortInt nameless DispStatus
- EndList
- EndList
- EndList
- Element DataItemCtrl
- LIST nameless ViewElement
- # As a way to get control once the screen is created and the
- # ObjInstAgent is ready for our commands connect to him and request
- # its CsmMsAdrData:
- Element RteList
- LIST RteList RteList
- Element NamedRte
- ShortInt nameless SelObjInstCsmMsAdrData
- Element RteCmd
- ShortInt nameless Connect
- Element RteP1
- ShortInt nameless CsmMsAdrData
- EndList
- Element ConfigElement
- # All the data needed for the screen to operate is here:
- LIST nameless ConfigElement
- Element PrinterSession
- # This query is needed for the GetNext query of HostPrt's:
- # See file NMOBJS.H for this object ID's
- LIST AttributesQuery AttributesQuery
- Element ObjectId
- # Object Id: Host Printer Session
- ObjectId nameless "" "2.1.2.26"
- Element ObjectInstance
- ShortInt nameless 00001
- Element ObjectInstCnt
- ShortInt nameless 00000
- Element AttrList
- List AttrList AttrList
- Element ObjectId
- # Object Id: LU Name
- ObjectId nameless "" "2.1.3.88"
- Element ObjectId
- # Object Id: Job Name
- ObjectId nameless "" "2.1.3.130"
- Element ObjectId
- # Object Id: Host Application
- ObjectId nameless "" "2.1.3.56"
- Element ObjectId
- # Object Id: Printer Session State
- ObjectId nameless "" "2.1.3.107"
- EndList
- EndList
- Element PrintQueue
- # This query is needed for the GetNext query of HostPrt's:
- # See file NMOBJS.H for this object ID's
- LIST AttributesQuery AttributesQuery
- Element ObjectId
- # Object Id: Host Print Queue
- ObjectId nameless "" "2.1.2.27"
- Element ObjectInstance
- ShortInt nameless 00001
- Element ObjectInstCnt
- ShortInt nameless 00000
- Element AttrList
- List AttrList AttrList
- Element ObjectId
- # Object Id: Queue Name
- ObjectId nameless "" "2.1.3.109"
- Element ObjectId
- # Object Id: File Server
- ObjectId nameless "" "1.3.148"
- Element ObjectId
- # Object Id: Job Name
- ObjectId nameless "" "2.1.3.129"
- EndList
- EndList
- EndList
- EndList
- Element ObjVars
- List ObjVars ObjVars
- Element QueryDisplayMax
- ShortInt nameless 0000A
- Element ObjectInstance
- ShortInt nameless 00001
- Element maxPrinterSessions
- ShortInt nameless 00000
- Element maxPrintQueues
- ShortInt nameless 00000
- EndList
- EndList
-
-
-
-
-